package LeetCode;

public class LC_292_NimGame {

    public static void main(String[] args) {

    }

    static class Solution {
        public boolean canWinNim(int n) {
            int val = n % 4;
            return val >= 1 && val <= 3;
        }
    }

}